﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;

namespace Microsoft.WVB.Framework
{
    /// <summary>
    /// A interface every MembershipProvider need to implement in order to be plugged into 
    /// the Application.
    /// </summary>
    public interface IMembershipUser
    {
        /// <summary>
        /// A <see cref="String"/> referencing the logging name of the user (or Private Personal Identifier)
        /// </summary>
        string UserName { get; set; }

        /// <summary>
        /// A <see cref="String"/> referencing the Email address of the user.
        /// </summary>
        string Email { get; set; }

        /// <summary>
        /// The provider used to connect to an Authentication Back-End.
        /// </summary>
        string ProviderName { get; set; }

        /// <summary>
        /// A <see cref="DateTime"/> informing about the creation date of the user's logging 
        /// in the Back-End System.
        /// </summary>
        DateTime? CreationDate { get; set; }
    }
}
